package com.Unidbg_hengdin.ndkdemo;

import com.github.unidbg.linux.android.dvm.array.ByteArray;

public class NNDKDemo {
    public String name;

    public static String privateStaticStringField = "privateStaticStringField";

    public String privateStringField;

    public byte[] byteArray = new byte[3];
    public int num;
    NNDKDemo(String arg_name){
        name = arg_name;
//        privateStaticStringField = arg_name;
        Loglog.d("NNDKDemo","NNDKDemo init : string " + name );
    }

    NNDKDemo(String arg_name,int arg_num){
        name = arg_name;
        num = arg_num;
//        privateStaticStringField = arg_name;
        Loglog.d("NNDKDemo","NNDKDemo init : string : "+ name + "\tint: "+ num );
    }

    public static void publicStaticFunc(){
        System.out.println("publicStaticFunc is called in NNDKDemo");
    }

    public String privateFunc(String args0,int args1){
        return args0;
    }

    public static int[] privateStaticFunc(String[] args0){

        return new int[3];
    }

}


class Loglog{
    public static void d(String tag,String info){
        System.out.println(tag + "\t" + info);

    }
}